STEP 3: Since we want to reveal the word one letter at a time, we will need a list of the letters in the word.

The list() command will copy the letters of our word "python" into a list.

If we displayed the values in the list they would look like this: ["p", "y", "t", "h", "o", "n"].

  • Go to and drag Copy List to the bottom of your program.
  • Change the our new list name to secret_letters. Change the variable in list() to word.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)